package com.lz.core;

import io.vertx.core.DeploymentOptions;
import io.vertx.core.Vertx;

/**
 * FirstVertx..
 *
 * It’s the control centre of Vert.x and is how you do pretty much everything,
 * including creating clients and servers, getting a reference to the event bus,
 * setting timers, as well as many other things.
 *
 * @author Lizhong
 * @date 2019/9/3
 */

public class SecondVertx {


    public static void main(String[] args) {
        l l =new l();
        Vertx vertx = Vertx.vertx();
        vertx.deployVerticle(
                "io.vertx.example.core.http.sharing.HttpServerVerticle",
                new DeploymentOptions().setInstances(2));
    }

    public void start() throws Exception {

    }
}
